#include "../maze.h"
#include "../room.h"
#include "../wall.h"
#include "../door.h"
#include "mazefactory.h"
#include <QDebug>

Maze *MazeFactory::makeMaze() const
{
    qDebug() << "MazeFactory::makeMaze()";
    return new Maze;
}

Room *MazeFactory::makeRoom(int n) const
{
    qDebug() << "MazeFactory::makeRoom(int n)";
    return new Room(n);
}

Wall *MazeFactory::makeWall() const
{
    qDebug() << "MazeFactory::makeWall()";
    return new Wall;
}

Door *MazeFactory::makeDoor(Room *r1, Room *r2) const
{
    qDebug() << "MazeFactory::makeDoor(Room *r1, Room *r2)";
    return new Door(r1, r2);
}
